package com.glsc.ngateway.common.api.flowable.resp;

import com.glsc.ngateway.common.api.flowable.dto.AppendDto;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.List;

public class ResponseCommentDto implements Serializable {

    @ApiModelProperty(value = "评论附言id")
    private String commentId;

    @ApiModelProperty(value = "评论人员id")
    private String userId;

    @ApiModelProperty(value = "评论时间")
    private String time;

    @ApiModelProperty(value = "任务id")
    private String taskId;

    @ApiModelProperty(value = "流程实例id")
    private String processInstanceId;

    @ApiModelProperty(value = "评论内容")
    private String fullMessage;

    @ApiModelProperty(value = "附件列表")
    private List<AppendDto> appendDto;

    @ApiModelProperty(value = "节点定义中文")
    private String taskDefinitionKey;

    @ApiModelProperty(value = "节点定义英文")
    private String taskName;

    @ApiModelProperty(value = "评论人员名称")
    private String userName;

    @ApiModelProperty(value = "处理状态")
    private String handleStatus;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getTaskDefinitionKey() {
        return taskDefinitionKey;
    }

    public void setTaskDefinitionKey(String taskDefinitionKey) {
        this.taskDefinitionKey = taskDefinitionKey;
    }

    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public List<AppendDto> getAppendDto() {
        return appendDto;
    }

    public void setAppendDto(List<AppendDto> appendDto) {
        this.appendDto = appendDto;
    }

    public String getCommentId() {
        return commentId;
    }

    public void setCommentId(String commentId) {
        this.commentId = commentId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getProcessInstanceId() {
        return processInstanceId;
    }

    public void setProcessInstanceId(String processInstanceId) {
        this.processInstanceId = processInstanceId;
    }

    public String getFullMessage() {
        return fullMessage;
    }

    public void setFullMessage(String fullMessage) {
        this.fullMessage = fullMessage;
    }

    public String getHandleStatus() {
        return handleStatus;
    }

    public void setHandleStatus(String handleStatus) {
        this.handleStatus = handleStatus;
    }

    @Override
    public String toString() {
        return "ResponseCommentDto{" +
                "commentId='" + commentId + '\'' +
                ", userId='" + userId + '\'' +
                ", time='" + time + '\'' +
                ", taskId='" + taskId + '\'' +
                ", processInstanceId='" + processInstanceId + '\'' +
                ", fullMessage='" + fullMessage + '\'' +
                ", appendDto=" + appendDto +
                ", taskDefinitionKey='" + taskDefinitionKey + '\'' +
                ", taskName='" + taskName + '\'' +
                ", userName='" + userName + '\'' +
                ", handleStatus='" + handleStatus + '\'' +
                '}';
    }
}
